﻿@using MvcArchStarter.Domain
@model IList<Blog>
@{
    ViewBag.Title = "Blog Home";
}
@section featured {
    <section class="featured">
        <div class="content-wrapper">
            <hgroup class="title">
                <h1>@ViewBag.Title.</h1>
                <h2>@ViewBag.Message</h2>
            </hgroup>
            <p>
                Use this screen to view a listing of all of your blogs
            </p>
        </div>
    </section>
}
<h3>Blogs:</h3>
<ol class="round">
    @foreach (Blog blog in Model)
    {
        <li>
            @Html.ActionLink(blog.Title, "Index", "Posts", new { BlogId = blog.BlogID }, null) (@blog.Name)
        </li>
    }
</ol>
